package com.deepocean.service;

import com.deepocean.entity.DenseMediumCycloneCondition;
import com.deepocean.entity.DenseMediumCycloneEntity;
import com.deepocean.entity.DenseMediumCycloneInAndOut1Hour;

import java.util.List;

/**
 * 重介旋流器
 */
public interface IDenseMediumCycloneService {
    /**
     * 添加数据
     * @param denseMediumCycloneEntity
     * @return
     */
    boolean add(DenseMediumCycloneEntity denseMediumCycloneEntity);

    /**
     * 当前时间开始，进一小时数据总和
     * @param deviceId
     * @return
     */
    DenseMediumCycloneInAndOut1Hour getInAndOutInHour(String deviceId);

    /**
     * 条件查询
     * @param denseMediumCycloneCondition
     * @return
     */
    List<DenseMediumCycloneEntity> getDenseMediumCycloneByCondition(DenseMediumCycloneCondition denseMediumCycloneCondition);
}
